
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1">
		<title></title>
		<link
		  rel="stylesheet"
		  href="https://cdn.jsdelivr.net/npm/mdui@1.0.1/dist/css/mdui.min.css"
		  integrity="sha384-cLRrMq39HOZdvE0j6yBojO4+1PrHfB7a9l5qLcmRm/fiWXYY+CndJPmyu5FV/9Tw"
		  crossorigin="anonymous"
		/>
		<script src="../js/hi.js"></script>
	</head>
	<body>
		
		<div id="background" class="mdui-valign mdui-center mdui-text-center" >
			<div class="box" id="box">
				<button class="mdui-btn mdui-ripple" onclick="location.href='?action=load'">展示弹窗</button>
				
			</div>
		</div>
		
		<div class="mdui-dialog" id="dialog-load">
		    <div class="mdui-dialog-title">MDT For Typecho</div>
		    <div class="mdui-dialog-content">简洁，专注阅读的 Typecho 博客主题！</div>
		    <div class="mdui-dialog-actions">
			  
		      <button class="mdui-btn mdui-ripple" onclick="location.href='https://gitee.com/heyos/mdt-for-typecho'">码云</button>
		      <button class="mdui-btn mdui-ripple" onclick="location.href='https://github.com/oCoke/MDT-For-Typecho'">GitHub</button>
		    </div>
		  </div>
		
		
		<script
		  src="https://cdn.jsdelivr.net/npm/mdui@1.0.1/dist/js/mdui.min.js"
		  integrity="sha384-gCMZcshYKOGRX9r6wbDrvF+TcCCswSHFucUzUPwka+Gr+uHgjlYvkABr95TCOz3A"
		  crossorigin="anonymous"
		></script>
	<script>
		var alert = new mdui.Dialog('#dialog-load');
		
		var action = $_GET["action"]
		console.log(action)
		
		if(action == "load"){
			alert.open();
			
		}
	</script>
	</body>
</html>
